package cn.qf.shop.pojo.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 资产管理的实体类
 */
public class Assets implements Serializable {
        /**
         * 资产id
         */
        private Integer assetsId;

        /**
         * 所属小区id
         */
        private String communityId;

        /**
         * 设备编号
         */
        private String assetsNo;

        /**
         * 设备名称
         */
        private String assetsName;

        /**
         * 设备品牌
         */
        private String assetsBrand;

        /**
         * 购买单价
         */
        private BigDecimal assetsPrice;

        /**
         * 购买数量
         */
        private Integer assetsNumber;

        /**
         * 购买日期
         */
        private Date assetsBuytime;

        /**
         * 预计使用年限（年）
         */
        private String assetsLife;

        /**
         * 创建时间
         */
        private Date createTime;

        /**
         * 状态码：0是已删除，1是存在
         */
        private Integer isDel;

    @Override
    public String toString() {
        return "Assets{" +
                "assetsId=" + assetsId +
                ", communityId='" + communityId + '\'' +
                ", assetsNo='" + assetsNo + '\'' +
                ", assetsName='" + assetsName + '\'' +
                ", assetsBrand='" + assetsBrand + '\'' +
                ", assetsPrice=" + assetsPrice +
                ", assetsNumber=" + assetsNumber +
                ", assetsBuytime=" + assetsBuytime +
                ", assetsLife='" + assetsLife + '\'' +
                ", createTime=" + createTime +
                ", isDel=" + isDel +
                '}';
    }

    public Assets() {
    }

    public Assets(Integer assetsId, String communityId, String assetsNo, String assetsName, String assetsBrand, BigDecimal assetsPrice, Integer assetsNumber, Date assetsBuytime, String assetsLife, Date createTime, Integer isDel) {
        this.assetsId = assetsId;
        this.communityId = communityId;
        this.assetsNo = assetsNo;
        this.assetsName = assetsName;
        this.assetsBrand = assetsBrand;
        this.assetsPrice = assetsPrice;
        this.assetsNumber = assetsNumber;
        this.assetsBuytime = assetsBuytime;
        this.assetsLife = assetsLife;
        this.createTime = createTime;
        this.isDel = isDel;
    }

    public Integer getAssetsId() {
        return assetsId;
    }

    public void setAssetsId(Integer assetsId) {
        this.assetsId = assetsId;
    }

    public String getCommunityId() {
        return communityId;
    }

    public void setCommunityId(String communityId) {
        this.communityId = communityId;
    }

    public String getAssetsNo() {
        return assetsNo;
    }

    public void setAssetsNo(String assetsNo) {
        this.assetsNo = assetsNo;
    }

    public String getAssetsName() {
        return assetsName;
    }

    public void setAssetsName(String assetsName) {
        this.assetsName = assetsName;
    }

    public String getAssetsBrand() {
        return assetsBrand;
    }

    public void setAssetsBrand(String assetsBrand) {
        this.assetsBrand = assetsBrand;
    }

    public BigDecimal getAssetsPrice() {
        return assetsPrice;
    }

    public void setAssetsPrice(BigDecimal assetsPrice) {
        this.assetsPrice = assetsPrice;
    }

    public Integer getAssetsNumber() {
        return assetsNumber;
    }

    public void setAssetsNumber(Integer assetsNumber) {
        this.assetsNumber = assetsNumber;
    }

    public Date getAssetsBuytime() {
        return assetsBuytime;
    }

    public void setAssetsBuytime(Date assetsBuytime) {
        this.assetsBuytime = assetsBuytime;
    }

    public String getAssetsLife() {
        return assetsLife;
    }

    public void setAssetsLife(String assetsLife) {
        this.assetsLife = assetsLife;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getIsDel() {
        return isDel;
    }

    public void setIsDel(Integer isDel) {
        this.isDel = isDel;
    }
}
